package com.example.freshmanapp.polo;

import java.util.Date;

public class News {
    private Integer id;
    private String title;
    private String conent;
    private Date date;

    public News(String title, String conent, Date date) {
        this.title = title;
        this.conent = conent;
        this.date = date;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getConent() {
        return conent;
    }

    public void setConent(String conent) {
        this.conent = conent;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }
}
